class Solution(object):
    def threeConsecutiveOdds(self, arr):
        t = 0
        for c in arr:
            if c % 2 == 1:
                t += 1
                if t == 3:
                    return True
            else:
                t = 0
        return False